package cn.iocoder.yudao.module.reading.controller.app.recordings.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import jakarta.validation.constraints.NotNull;

/**
 * 用户配音公开设置请求 VO
 *
 * @author 李晨
 */
@Schema(description = "用户配音公开设置请求 VO")
@Data
public class UserRecordingPublicSettingReqVO {

    @Schema(description = "绘本ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10")
    @NotNull(message = "绘本ID不能为空")
    private Long bookId;

    @Schema(description = "是否公开", requiredMode = Schema.RequiredMode.REQUIRED, example = "true")
    @NotNull(message = "公开状态不能为空")
    private Boolean isPublic;

}
